

public class PrintAddResult {
    public static void main(String[] args) {
        int result = new MyMath().add(50,6);
        System.out.println(result);
    }

}

 class MyMath {
    public int add(int a,int b) {
        return a + b;
    }
}